package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"store-master/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/shop/add", &controllers.ShopController{}, "post:Add")
	beego.Router("/shop/update", &controllers.ShopController{}, "post:Update")
	beego.Router("/shop/list", &controllers.ShopController{}, "get:List")
}
